dojo.provide("miaigo.model.GameReader");

dojo.declare(
    "miaigo.model.GameReader",
    null,
    {
	// error
	_error: null,

	constructor: function(readerParam)
	{
	    dojo.mixin(this, readerParam);
	},

	_reportError: function(errorString)
	{
	    this._error = errorString;
	    console.error(this._error);
	},

	// Override to implement
	readGame: function(/* String */gameString)
	{
	    // Return: An array of miaigo.model.Game
	}
    });